
import request from '@/utils/request'

export function getEmailPage(page = 1, options = {}, pageSize = 12) {
  return request({
    url: '/api/smtp',
    params: {
      page,
      ...options,
      pageSize
    }
  })
}
export function Deleteemail(id) {
  return request({
    url: `/api/smtp/${id}`,
    method: 'delete'
  })
}
